package com.campsys.service.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CategoryDTO {
    
    private Long id;
    
    @NotBlank(message = "分类名称不能为空")
    private String name;
    
    @NotNull(message = "分类类型不能为空")
    private Integer type;
    
    private String description;
    
    private Integer sort;
} 